package client;


import config.RpcConfig;
import lombok.extern.slf4j.Slf4j;
import service.HelloService;

/**
 * @description: 客户端封装
 * @create: 2021-06-28-19-09
 * @author: David
 **/
@Slf4j
public class RpcClient {

    public static void main(String[] args) {
        HelloService service = RpcConfig.getProxyService(HelloService.class);
        System.out.println(service.sayGoodBye("张三"));
    }

}